import { ApiProperty } from '@nestjs/swagger';

export class VisitStatsDto {
  @ApiProperty({ description: '日期列表', example: ['2025-02-25', '2025-02-26'] })
  dates: string[];

  @ApiProperty({ description: '每日浏览量列表', example: [5689, 5406] })
  pvList: number[];

  @ApiProperty({ description: '每日访客数量列表', example: [558, 513] })
  ipList: number[];
}

export class VisitStatsResponseDto {
    @ApiProperty({ description: '访问统计数据' })
    data: VisitStatsDto;
  }